package org.kjk.oracleDB;

import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;

public interface DAO {
	public <T> int insert(T obj);
	public <T> int update(T obj);
	public <T> int delete(T obj);
	public List<Object> select(String sql, String[] param);
	
	public JSONObject selectJson(String sql, String[] param) throws JSONException;
}
